package de.l3s.forgetit.services.schema;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;

public interface Action {

	@XmlAttribute(name = "uri")
	@XmlSchemaType(name = "string")
	public String getUri();
	
	@XmlAttribute(name = "label")
	@XmlSchemaType(name = "string")
	public String getLabel();
	
	@XmlAttribute(name = "timestamp")
	@XmlSchemaType(name = "string")
	public String getTimestamp();
	
	@XmlAttribute(name = "type", required = true)
	@XmlSchemaType(name = "string")
	public String getType();
	
	@XmlElement(name = "resource", required = true, type = Resource.class)
	public Resource getResource();
	
	@XmlElement(name = "extra", type = MetaData.class)
	public MetaData getMetaData();
}
